import Taro, { Component } from '@tarojs/taro'
import { View, Text, Image, Picker, Swiper, SwiperItem } from '@tarojs/components'
import {AtList,AtListItem} from 'taro-ui'
import './huanjiaoziliaoku.scss'
import reactMixin from 'react-mixin';
import myJs from '../../pages/huanjiaoziliaoku/huanjiaoziliaokujs.js'
import app from '../../../main.js'

export default class Huanjiaoziliaoku extends Component {
    config = {
        navigationBarTitleText: '患教资料库'
    }
    constructor () { 
        super(...arguments); 
        this.state = this.getData(); 
    }
    componentWillMount () {}
    componentDidMount () {}
    componentWillUnmount () {}
    componentDidShow () {}
    componentDidHide () {}
    navigateTo(url) { Taro.navigateTo({url: url}) }
    render () {
        return (
            <View className='huanjiaoziliaoku'>
                <AtList>
                    <AtListItem title='早期检查可预防青光眼' arrow='right' note='清光眼'></AtListItem>
                    <AtListItem title='清光眼者不宜喝浓茶和咖啡' arrow='right' note='清光眼'></AtListItem>
                    <AtListItem title='清光眼的危害 正视其危害' arrow='right' note='青光眼'></AtListItem>
                    <AtListItem title='教你正确看电视，远离远视眼' arrow='right' note='近视眼'></AtListItem>
                </AtList>
            </View>
        );
    }
}
reactMixin.onClass(Huanjiaoziliaoku,myJs);